package com.sx.dao;

import com.sx.pojo.SaleBill;

import java.util.ArrayList;

public interface SaleBillDao {
    //获取所有销售单
    ArrayList<SaleBill> getAllSaleBill();
    //判断销售单号是否存在
    boolean checkSaleBillIDExists(String saleBillID);
    //保存销售单
    boolean saveSaleBill(SaleBill saleBill);
    //删除销售单
    boolean deleteSaleBillById(String saleBillID);
    //根据销售单号获取销售单
    SaleBill getSaleBillById(String saleBillID);
    //更新销售单
    boolean updateSaleBill(SaleBill saleBill);
}
